package com.smkj.kaoqin.modules.common.pojo.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
@Schema(description = "班级表")
public class Classes implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "班级id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "班级名称")
    private String className;

    @Schema(description = "老师名称")
    private String teacherName;

    @Schema(description = "老师id")
    private Integer teacherID;

    @Schema(description = "班级二维码")
    private String qrCode;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
